ECHO OFF

cd ..\wsp

SET SITE_URL="http://localhost:11139"
SET SOLUTION_NAME=BAS.Dovas.DateTimeSecField.wsp

REM ECHO .
REM ECHO .
REM ECHO -------------------------------------------------------------------------------------------
REM ECHO Verify that the correct solutions have been completly retracted and then press ENTER
REM ECHO -------------------------------------------------------------------------------------------
REM ECHO .

stsadm -o execadmsvcjobs

ECHO ON

stsadm -o upgradesolution -name %SOLUTION_NAME% -filename %SOLUTION_NAME% -immediate -allowgacdeployment

ECHO OFF
ECHO .
ECHO .
ECHO -------------------------------------------------------------------------------------------
ECHO Solution deployment complete, press ENTER to activate features, if any
ECHO -------------------------------------------------------------------------------------------

stsadm -o execadmsvcjobs

ECHO ON
REM ----- Active features -----
REM stsadm -o activatefeature -name featurename -url %SITE_URL% -force

pause